﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using iTFF.WinFormsWrappers;
using System.Windows.Controls;
using System.Windows.Input;

namespace iTFF.WPF.UI
{
    class NotifyIconBehaviours
    {
        public static readonly DependencyProperty MouseDoubleClickCommand = EventBehaviourFactory.CreateCommandExecutionEventBehaviour(
            NotifyIcon.MouseDoubleClickEvent,
            "MouseDoubleClickCommand",
            typeof(NotifyIconBehaviours));

        public static void SetMouseDoubleClickCommand(NotifyIcon o, ICommand command)
        {
            o.SetValue(MouseDoubleClickCommand, command);
        }

        public static void GetMouseDoubleClickCommand(NotifyIcon o)
        {
            o.GetValue(MouseDoubleClickCommand);
        }
    }
}
